package com.qijian.production.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qijian.production.domain.ScWorkOrderDetail;
import org.apache.ibatis.annotations.Select;

/**
 * 生产计划单工序Mapper接口
 *
 * @author zhangcheng
 * @date 2025-03-25
 */
public interface ScWorkOrderDetailMapper extends BaseMapper<ScWorkOrderDetail> {

    @Select("select count(0) from sc_work_order_detail WHERE create_time >= CURRENT_DATE ")
    int countCurrentDateWithDel();
}
